package com.hoshiicloud.market.service.activities;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.market.entity.activities.Activities;

/**
 * @Author:campchen
 * @Date:Created in 下午 02:20 2019/8/26
 * @PACKAGENAME com.hoshiicloud.market.service.activities
 * @Description
 */
public interface ActivitiesService extends IService<Activities> {
    Activities getById(Long id);

    String insert(Activities entity);

    boolean updateById(Activities entity);

    IPage<Activities> getPage(IPage<Activities> page, QueryWrapper<Activities> queryWrapper, String key);
}
